package com.chat.api.web.service;

import com.chat.api.web.dao.BlogGroupRepo;
import com.chat.api.web.po.BlogGroupBean;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BlogGroupService {

    @Autowired
    private BlogGroupRepo blogGroupRepo;

    public List<BlogGroupBean> getAllName() {
        return blogGroupRepo.findAllName();
    }
}
